<?php
class _global extends MY_Model{
    function __construct(){
        parent::__construct();
    }
    function get_language($id)
    {
        $this->load->model('languages');
        return $this->languages->get_language($id);
    }
    function get_default_language()
    {
        $this->load->model('languages');
        return $this->languages->get_language_default(true);
    }
    function get_isnot_language_default()
    {
        $this->load->model('languages');
        return $this->languages->get_language_default(false,false,true);
    }
}